package lesson17.cars;

public class CarDemo {

	public static void main(String[] args) {
		
		Jeep jeep = new Jeep();
		System.out.println("=== Jeep ===");
		jeep.model = "Grand Cherokee";
		jeep.startEngine();
		
		SportsCar lambo = new SportsCar();
		System.out.println("=== SportsCar ===");
		lambo.model = "Diablo";
		lambo.startEngine();
		
		lambo.accelerate(3);
		
		
		System.out.println(jeep);
		System.out.println(lambo);
	}
}
